﻿using UnityEngine;
using System.Collections;

public class Finish : MonoBehaviour {

	void OnTriggerEnter2D (Collider2D other) {
		if(other.gameObject.name == "Player"){
			if(BomberManMove.isFull()){
				Application.LoadLevel(Application.loadedLevel +1);
			}
		}
	}
}
